# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=dockerpy-creds
pkgver=0.4.0
pkgrel=3
pkgdesc="Python bindings for the docker credentials store API"
url="https://github.com/shin-/dockerpy-creds"
arch="noarch"
license="Apache-2.0"
depends="py3-six"
makedepends="py3-setuptools python3-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/shin-/dockerpy-creds/archive/$pkgver.tar.gz"

check() {
    cd "$builddir"
    python3 setup.py check
}

build() {
    cd "$builddir"
    python3 setup.py build
}

package() {
    cd "$builddir"
    python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="5c7c75a654693c6439592201bba6082af2962fab8d25af980ebb3ad2aede42973c31dbc2693eea1212f911980725bab257f973c7498b3555f68fae1630cfc62c  dockerpy-creds-0.4.0.tar.gz"
